interface IGetListInfo {
  page?: number;
  pageSize?: number;
}

interface IGetListData {
  // list: IGetListResult[]
}

interface IClue {
  [key: string]: {
    pics: string[];
  };
}

interface IGetListResultBase {
  id: number;
  scriptName: string;
  manNum: number;
  womenNum: number;
  introduction: string;
  cover: string;
  clue: IClue;
  role: IClue;
  is_selected: boolean;
  is_deleted: boolean;
  createdAt: string;
  updatedAt: string;
}

type IGetListResult = {
  scriptList: IGetListResultBase[];
};

enum ListUrl {
  getList = "script/getList",
}

export { IGetListInfo, IGetListResult, ListUrl, IGetListData, IGetListResultBase };
